cmake_minimum_required(VERSION 3.0.2)
project(oryxbot_conveyer)


find_package(catkin REQUIRED COMPONENTS
  rei_robot_base
  roscpp
)

catkin_package(
#  INCLUDE_DIRS include
#  LIBRARIES oryxbot_conveyer
#  CATKIN_DEPENDS rei_robot_base roscpp
#  DEPENDS system_lib
)

include_directories(
# include
  ${catkin_INCLUDE_DIRS}
)

add_executable(${PROJECT_NAME}_node src/conveyer_node.cpp)

add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

target_link_libraries(${PROJECT_NAME}_node
  ${catkin_LIBRARIES}
)

install(TARGETS ${PROJECT_NAME}_node
  RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)